// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//适配
import 'lib-flexible/flexible'

//状态管理
import store from './api/store.js';
Vue.prototype.$store = store;

//加密
import EncryUtil from './api/encrypt.js';
Vue.prototype.EncryUtil = EncryUtil;

//cookie
import Cookie from 'js-cookie'
Vue.prototype.Cookie = Cookie;

//防止XSS
import xss from 'xss'
Vue.prototype.$xss = xss;

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
